﻿<div id="content" class="hfeed">
    <div class="page hentry entry">
        <div class="post-wrap">
            <div class="entry-content">

                <h2>Tạo mới</h2>
                <?php echo $this->Form->create('MobileModel'); ?>
                <fieldset>
                    <legend><?php echo __('Add Mobile Model'); ?></legend>
                    <?php
                    echo $this->Form->input('model_code');
                    echo $this->Form->input('image_url');
                    echo $this->Form->input('price');
                    echo $this->Form->input('discount');
                    echo $this->Form->input('retail_price');
                    echo $this->Form->input('warranty_month');
                    echo $this->Form->input('mobile_base_id');
                    echo $this->Form->input('mobile_name');
                    echo $this->Form->input('mobile_dimension');
                    echo $this->Form->input('mobile_weight');
                    echo $this->Form->input('screen_type_id');
                    echo $this->Form->input('screen_color_count');
                    echo $this->Form->input('screen_standard_id');
                    echo $this->Form->input('screen_resolution_id');
                    echo $this->Form->input('screen_size_id');
                    echo $this->Form->input('touch_description');
                    echo $this->Form->input('camera_feature');
                    echo $this->Form->input('cpu_speed');
                    echo $this->Form->input('chipset_id');
                    echo $this->Form->input('gpus_id');
                    echo $this->Form->input('ram');
                    echo $this->Form->input('internal_storage');
                    echo $this->Form->input('storage_up_to');
                    echo $this->Form->input('card_slot_type_id');
                    echo $this->Form->input('battery_type_id');
                    echo $this->Form->input('battery_capacity');
                    echo $this->Form->input('battery_removable', array(
                                'type'=>'checkbox',
                                'format' => array('before', 'label', 'between', 'input', 'after', 'error' )  ) );
                    echo $this->Form->input('sim_count');
                    echo $this->Form->input('three_description');
                    echo $this->Form->input('four_description');
                    echo $this->Form->input('gps_description');
                    echo $this->Form->input('bluetooth_description');
                    ?>
                </fieldset>
                <?php echo $this->Form->end(__('Submit')); ?>

            </div>
        </div>
    </div>
</div>
<div id="sidebar" class="sidebar">
    <div class="widget">
        <h4>Chức năng</h4>
        <ul class="menu">
            <li><?php echo $this->Html->link(__('List Mobile Models'), array('action' => 'index')); ?></li>
        </ul>
    </div>
</div>


